package com.service.dao.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.math.BigDecimal;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-18 10:15:22
 */
@Data
@TableName("hm_otc_order_detail")
public class OtcOrderDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    // 
    @TableId
    private Integer id;

    // 交易订单id
    private Integer otcOrderId;

    // 交易订单号
    private String otcOrderNo;

    // 买入(卖出)会员id
    private Integer memberId;

    //OTC所属会员id
    private Integer sourceMemberId;

    // 买入(卖出)数量
    private BigDecimal buyNum;

    // 买入(卖出)单价
    private BigDecimal otcPrice;

    // 交易总金额
    private BigDecimal payMoney;

    // 货币id
    private Integer coinsId;

    // 货币名称
    private String coinsName;

    // 交易货币id
    private Integer tradeCoinsId;

    // 交易货币名称
    private String tradeCoinsName;

    // 交易类型(1:买入;2:卖出)
    private Integer detailType;

    // Otc创建时间
    private Date otcCreateTime;

    // 创建时间
    private Date createTime;

    // 
    private Date updateTime;
}
